package org.dromara.web.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.web.system.domain.AppProcurementDetail;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 采购详情视图对象 app_procurement_detail
 *
 * @author Lion Li
 * @date 2025-09-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AppProcurementDetail.class)
public class AppProcurementDetailVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 采购计划编号
     */
    @ExcelProperty(value = "采购计划编号")
    private String planCode;

    /**
     * 原料类型ID
     */
    @ExcelProperty(value = "原料类型ID")
    private Long materialTypeId;

    /**
     * 种类ID
     */
    @ExcelProperty(value = "种类ID")
    private Long categoryId;

    /**
     * 计划采购量（吨）
     */
    @ExcelProperty(value = "计划采购量", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "吨=")
    private Long plannedWeight;

    /**
     * 计划采购数（车）
     */
    @ExcelProperty(value = "计划采购数", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "车=")
    private Long plannedTruckNum;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
